select last_day(map('2014-01-14','test'));